home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
UTILREEN
/
FONTASTK.LZH
/
DOCUMENT.ARC
/
IHSFONT.DOC
< prev
next >
Wrap
Text File
|
1985-08-31
|
37KB
|
907 lines
:lpp 64
:load1 darkbold.f16
:load2 heading1.p16
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ IHSFONT USER GUIDE 4-1 ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
INTRODUCTION
:font 0
:space 2
:dsoff
:eon
IHSFONT is a interactive, full screen font
definition utility. Operating under the PC/DOS
operating system, it permits a user to design a
variety of font characters which may be used in
printing text files. These text files may be
generated by editors or any word processor that
creates standard DOS files. Supporting a full
range of editing capabilities, IHSFONT allows the
user to ADD, CHANGE, or DELETE any specified font
definition plus other special functions.
Definition of the single character font (SCALE 1,
12x8) or double-high/double-wide character fonts
(SCALE 2, 24x16) are both supported, providing the
maximum flexibility in character definition. The
companion program (IHSPRINT) is used to print the
selected text files, using the generated font files
created with IHSFONT.
:font 2
:dson
FEATURES
:dsoff
:font 0
* User friendly editing of the defined
fonts is provided via the IHSFONT
utility. This utility is unique in its
support of simplistic editing of complex
characters.
- Full screen displays.
- A function-key driven design.
- Full cursor control.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ 4-2 IHSFONT USER GUIDE ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
INTRODUCTION (CON'T)
:font 0
:space 2
:dsoff
* Multiple fonts may be utilized and mixed
in printing any specified text file. Not
all characters of a print set must be
defined. That is, if only a few special
characters are required in the document,
only those special characters must be
defined while all other printed
characters would be the normal defined
font set.
* The full 255 available ASCII character
set is available for definition of new
characters, not just the normal printable
set of 96 characters.
* Full control of proportional printing is
supported
* Reverse image fonts may be defined.
* Compact by design, the font files do not
require large amounts of diskette
storage.
:ccon
IHSFONT may be used to modify those font files
provided with FONTASTIC or may be used to create
entirely new font definition files. The characters
defined with IHSFONT are only limited to the
confines of the selected font size and the user's
imagination. = Printed characters, graphics
characters, scientific symbols, and special foreign
language characters are all possible.=
:ccoff
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ IHSFONT USER GUIDE 4-3 ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
GENERAL INFORMATION
:font 0
:space 2
:dsoff
IHSFONT is a user friendly, interactive editor
which permits the definition of any character font
form which is printed in hard copy in place of the
normal hardware specified character font. The
normal character cell on the supported dot matrix
printers is a 8 x 12 dot matrix, but only the 8 x 9
portion is used in the predefined character set.
IHSFONT allows you to define the full character
font by specifying which of the printer pins will
be activated in printing the defined character in
the bit-graphics mode. Thus, you may define a new
character form for each character in the print set
or may define completely new characters which
occupy the normally non-printable characters in the
ASCII set. Definition of a "SCALE 2" font is
simply an extension of the normal character font
which will generate a printed character that is
double-high and double-wide. It is these larger
size characters that will provide you with the
greater printing resolution when using the very
fancy character sets such as the GOTHIC forms. The
selectable proportional printing form will result
in a near letter quality hard copy from an
inexpensive dot matrix printer. (see IHSPRINT,
Chapter 3)
:font 2
:dson
CURSOR CONTROL
:dsoff
:font 0
IHSFONT is a full screen, function key driven
editor. In all screens, data is keyed into the
input `fields' and the appropriate function is
initiated by pressing the desired function key. To
move the cursor to a desired field for entering
keyboard information, the following keys have the
described cursor function:
:load2 normal.f08
:font 2
:ccon
"@2@0" (up arrow, "8" on numeric keypad)
- This will move the cursor up (towards top of
screen) to the next input field. Once at the top
of the screen, the cursor will be positioned at the
left upper most unprotected field.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ 4-4 IHSFONT USER GUIDE ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:load2 heading1.p16
:font 2
GENERAL INFORMATION (CON'T)
:dsoff
:load2 normal.f08
:scale 1
:space 2
"@2@0" (down arrow/"2" on numeric keypad)
"@2─┘@0" (Enter Key)
- This will move the cursor down (toward bottom of
screen) to the next input field. If the cursor is
already at the bottom of the screen, it will be
repositioned at the left upper most input field.
"@2@0" (left arrow)
(TAB left)
(END)
- This will move the cursor left within a field or
when at the beginning of a field, will move the
cursor to the beginning of the next input field to
the left. Once at the top of the screen, the
cursor will not wrap.
"@2@0" (right arrow)
(TAB right)
- This will move the cursor right within a field or
when at the end of a field, will move the cursor to
the beginning of the next input field to the right.
Once at the bottom of the screen, the cursor will
be relocated to the upper most input field.
(HOME key)
- This will relocate the cursor to the left upper
most input field on the selected screen.
:ccoff
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ IHSFONT USER GUIDE 4-5 ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:load2 heading1.p16
:font 2
GENERAL INFORMATION (CON'T)
FUNCTION KEYS
:font 0
:space 2
:dsoff
Definition of the function keys is displayed at the
bottom of each screen with the key number followed
by a brief description of the function (i.e., EXIT,
SCL1, SCL2, .....). In addition to the defined set
of 10 function keys, use of the SHIFT key and the
'arrow' keys permit relocating the character within
the character cell. (SHIFT +'arrow up' will
relocate the entire character up one set of
pixels). In like manner, the SHIFT and other
arrows may be used to locate the font in any
portion of the cell.
:font 2
:dson
PROPORTIONAL DEFINITION
:dsoff
:font 0
Proportional character definition (i.e., variable
character width) is supported on the detail screen
level. The user specifies the width of the
character via a function key to define the bounds
of the character generated. In this manner, the
user is in full control of the final format of the
character set being generated.
:font 2
:dson
TERMINATION
:dsoff
:font 0
:ccon
Exiting IHSFONT at any level may be performed via
use of the function keys designated for that
function or by use of the Ctrl-Break keys. =If the
Cntl-Break exit is used, the user must be aware
that the utility may leave `work' files still
allocated on the diskette and that space must be
regained by manually deleting the work file=. (see
section on Deleting a Character).
:ccoff
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ 4-6 IHSFONT USER GUIDE ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
FONT SELECTION SCREEN
:font 0
:space 2
:dsoff
When IHSFONT is invoked, the font selection screen
is displayed (See Figure 3.1, page 3-16). This
screen allows you to select a font file to
edit/create before proceeding to one of the detail
screens. Several other features are supported at
this level, such as file display and file
allocation. All features are initiated by
selection of a function key and are detailed below:
:FONT 2
:dson
SELECTING FONT
:font 0
:dsoff
A font file is selected by typing a complete DOS
file name (filename.ext) in the appropriate field
in the screen. Once the name has been entered,
function key F1 or F2 must be pressed to display
the appropriate detail screen. Two (2) function
keys provide access to the detail screen; F1 --
selects the SCALE 1 font definition, F2 -- selects
the SCALE 2 font definition screen. An example of
a scale 1 font is the text you are now reading. An
example of a scale 2 font are the large letters
used to print the page and section headings of this
manual.
When defining a new font file, the name must be
typed in and either the F1 or F2 function key
depressed. Since the named file does not exist on
the specified diskette, IHSFONT will prompt the
user to press F9 (ALLC) to allocate the file before
proceeding to the requested detail screen. Once a
specified font file has been defined and characters
added, the user may press either F1 or F2 and
IHSFONT will automatically display the appropriate
detail screen (SCALE 1 or SCALE 2). For example,
if you named a font which had previously been
defined as SCALE 1, then pressed the F2 function
key (which normally would give you the SCALE 2
detail definition screen), IHSFONT will override
your selection and provide you with the SCALE 1
definition screen.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ IHSFONT USER GUIDE 4-7 ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
FONT SELECTION SCREEN (CON'T)
:font 0
:space 2
:font 2
DISPLAYING DISKETTE FILES (F3)
:font 0
:dsoff
A function provided by IHSFONT is the display of
files on the selected diskette. This function
supports the same `wild card' features of the DIR
command in DOS (see IBM DOS 1.1 manual section
3-35). Display of any file name is by entering the
file name into the font selection field and
pressing the F3 key. The matching file names will
be displayed in the main body area of the main menu
screen. This is most useful when you are unsure of
the file to be edited. A maximum of 40 file name
entries will be displayed in the body of the
screen, any file names in excess of the 40 will not
be displayed. This function is not intended to
provide full directory display, but rather a quick
selective display of font file names.
:font 2
:dson
ALLOCATING A NEW FONT FILE (F9)
:dsoff
:font 0
Once you have entered a file name into the
selection field and pressed F1 or F2, IHSFONT
searches the selected diskette for the existence of
that file. If the selected file does not currently
exist on the diskette, you will be prompted to
allocate the file by display of a message and the
blinking of the "ALLC" label associated with the F9
key. If you choose to allocate the file (when
creating a new font), press the F9 key. The file
will be allocated and the appropriate detail screen
will be displayed ready for creation of the new
fonts. If the file name selected was in error,
retype the file name and repeat the detail screen
selection.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ 4-8 IHSFONT USER GUIDE ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
FONT SELECTION SCREEN (CON'T)
:font 0
:space 2
:FONT 2
EXITING IHSFONT (F10)
:FONT 0
:dsoff
Press the F10 function key to exit IHSFONT. The
screen is cleared and the normal DOS prompt is
displayed.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ IHSFONT USER GUIDE 4-9 ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
FONT DEFINITION SCREEN
:font 0
:space 2
:dsoff
Once a valid DOS file name has been supplied on the
Font Selection screen, you will be presented with
either a Font Definition Screen for a SCALE 1 font
(See Figure 3.2, page 3-17) or a SCALE 2 font,
depending on whether you pressed F1 or F2,
respectively. These screens present a box in which
you can define and/or modify a character. If the
specified file already contains defined characters,
upon display of the detail screen, the first
character in the file will be displayed in the box.
If no characters are defined, IHSFONT will
automatically prompt you to define a new character.
Creation of a new symbol is by placing non-blank
characters (such as an "+" or an "*") in any of the
box locations. A SCALE 1 box will have 8 vertical
and 12 horizontal positions. SCALE 2 fonts will
have twice that many. Any non-blank character in a
box location tells the printer to place a single
small dot on the paper when the character is
printed. Thus, by moving the cursor using the
cursor movement keys, and placing non-blank
characters in the box, you can form any special
symbol you desire.
With both font definition screens (SCALE 1 or SCALE
2), there are two methods to follow when adding a
new font character to the selected file:
1) Use of the "NEXT" function key to
sequentially display each defined
character until the end of the file is
reached, at which point the user will be
prompted to define a new font character;
2) Use of the select ("SLCT") function key
will allow the user to position the file
for addition without displaying each
character in the file. Further
explanations are covered in specific
function sections.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ 4-10 IHSFONT USER GUIDE ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
DEFINITION SCREEN (CON'T)
:font 0
:space 2
:dsoff
As new characters are added to the specified file,
they are appended following the characters already
defined. This means that when reviewing a font
file, the order in which the characters are
displayed is the order in which they were added.
No attempt is made by IHSFONT to maintain any
"collating" or sorted order. It must also be
understood that in defining a "replacing" character
for an existing character, a unique ASCII character
must be specified. IHSFONT will permit multiple
characters to be associated with a particular ASCII
character code and because of this it is your
responsibility to insure the uniqueness of any
`replacing' character in a font definition.
"Ordering" a font file into the proper ascending
sequence may be performed by use of the IHSUTIL
program (see Chapter 4).
:FONT 2
:dson
SAVING A FONT CHARACTER (F1)
:font 0
:dsoff
After the desired character has been defined (or
modified) in the matrix, this image must be 'SAVED'
or written to the file. This process is initiated
by pressing the F1 function key. You will then be
prompted to enter the ASCII code or character that
this new character will `replace'. Any keyboard
generated character may be entered as a replacement
character, including non-printable characters (via
use of the Alt key and the numeric pad). When the
`replacement' character is entered, IHSFONT will
automatically write the new font to the file. This
"SAVE" function is also used to update any existing
font character which you have modified.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ IHSFONT USER GUIDE 4-11 ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
DEFINITION SCREEN (CON'T)
:font 0
:space 2
:font 2
REVERSING A CHARACTER (F2)
:font 0
:dsoff
Once a font character is displayed in the matrix, a
reverse function may be affected by pressing the F2
function key. This `reverse' function will change
all displayed non-blank matrix locations to blank
and all blank matrix locations to a `+'. This
permits either easy definition of `reverse' fonts
or would even ease the definition of some very
complicated normal font characters.
:FONT 2
:dson
TESTING A CHARACTER (F3)
:FONT 0
:dsoff
While defining any font character, it is beneficial
to test the character on the printer to see how it
will appear. This facility is provided via the
F3("TEST") function key. At any time during the
definition session (even prior to "SAVE"), the
displayed character may be tested by pressing the
F3 key. When printing a SCALE 1 character, each
character will be printed horizontally on the
printer. SCALE 2 characters will be printed with
only one character per line and will appear at the
far left of the page.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ 4-12 IHSFONT USER GUIDE ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
DEFINITION SCREEN (CON'T)
:font 0
:space 2
:FONT 2
SETTING PROPORTIONAL (F4)
:font 0
:dsoff
Variable character width (i.e., proportional
printing) is a technique which produces a more
pleasing print form. This is seen in printing that
maintains the same spacing between characters
regardless of the width of the character itself
(i.e., the width of the letter "I" and the letter
"W" are not the same). IHSFONT supports a feature
which allows you to define the width of each
character to affect true proportionality in the
finished printed document.
To define the width of any displayed character,
move the cursor to the TOP row of the definition
cell and to the column which you want as the
`right-most' edge of the character cell. Then
place an "@" symbol at this location. This becomes
the "width column". After the width column has
been specified with the "@" character, press the F4
key. IHSFONT will identify the selected column by
causing that column to appear in reverse video.
This will define the new width of the character as
measured from the far left side of the cell to the
newly defined proportional column. Once set, each
new character defined will have this character
width until you change the proportional definition.
This means that it is possible to define a
different character width for each character within
any font. To return to the full cell width
definition press the F4 key.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ IHSFONT USER GUIDE 4-13 ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
DEFINITION SCREEN (CON'T)
:font 0
:space 2
:FONT 2
DELETING A CHARACTER (F5)
:FONT 0
:dsoff
Any character may be deleted from the selected font
file by pressing the F5 function key while the
desired character is displayed. Any number of font
images/characters may be deleted during the
session, BUT will remain displayable. However,
upon return to the font selection screen IHSFONT
allocates a file "WRKFNT.TMP" on the selected drive
and will copy all valid font characters to this
file (omitting those selected for delete). Upon
completion, the original font file is deleted and
the "work" file is renamed to the original font
name. With very large font files, this process may
take up to 2 minutes. In the case where the
selected diskette drive has inadequate space for
creation of this work file, IHSFONT will terminate
the delete function and inform the operator of this
condition.
If IHSFONT is terminated via the Ctrl-Break during
this process, the "WRKFNT.TMP" file will remain on
the disk and must be deleted manually with the DOS
DEL/ERASE command.
:font 2
:dson
RANDOM SELECTION (F6)
:FONT 0
:dsoff
When editing a font file, you will often only be
interested in a single character. To facilitate
access to the desired character, the "SELECT"
function is provided. To "SELECT" a font character
for editing, press the F6 function key. You will
then be prompted to enter the desired character.
Once the character has been selected, IHSFONT will
scan the file for the character and display it in
the matrix. If the character is not defined in the
font, the message "Invalid Selection Character"
will appear.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ 4-14 IHSFONT USER GUIDE ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
DEFINITION SCREEN (CON'T)
:font 0
:space 2
:FONT 2
PREVIOUS CHARACTER (F7)
:FONT 0
:dsoff
To view the previous character in sequence to the
one currently being displayed, press the F7 key. A
review of the font file in a "backwards" manner may
be affected with this function. When at the
beginning of the file, any further requests for the
"previous" character will be ignored.
:FONT 2
:dson
NEXT CHARACTER (F8)
:FONT 0
:dsoff
To view the next character in sequence to the one
currently being displayed, press the F8 function
key. If the end of the font file has been reached,
a request for the NEXT font will result in IHSFONT
requesting you to define a new character and
presenting a blank screen. If no new characters
are to be defined, the user may proceed with any
other valid function.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ IHSFONT USER GUIDE 4-15 ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
DEFINITION SCREEN (CON'T)
:font 0
:space 2
:font 2
USING A MASK (F9)
:FONT 0
:dsoff
The "MASK" function was implemented to allow you to
select a previously defined font character as a
basis for definition of a new character. Often
great similarity exists between characters in any
defined set and generation of new characters is
eased by `copying' an existing character to act as
a basis for the new character. Use of this
function is activated by pressing the F9 function
key. You will then be prompted to enter the "mask"
character, at which time IHSFONT will scan the font
file for the selected character. If the character
has been previously defined, it will be displayed
in the matrix and the file positioned for adding a
new character. If the character selected has not
been previously defined, IHSFONT will position the
file for adding a new character and prompt you to
create a "new" character.
:FONT 2
:dson
EXITING DEFINITION SCREEN (F10)
:FONT 0
:dsoff
To return to the font selection screen from either
detail screen, press the F10 function key.
:eject
:font 1
:lpi 9
:dson
╔══════════════════════════════════╗
║ 4-16 IHSFONT USER GUIDE ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
FIG 3.1 - FONT SELECTION SCREEN
:load2 normal.p08
:font 2
:scale 1
:SPACE 6
:LPI 9
┌───────────────────────────────────────────────────────────────────┐
│ │
│ I H S F O N T V 2.0 │
│ │
│ (C) Copyright, IHS Systems, 1983, 1984 │
├───────────────────────────────────────────────────────────────────┤
│ ┌───────────┐ │
│ FONT FILE NAME: │ │ │
│ └───────────┘ │
├───────────────────────────────────────────────────────────────────┤
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
├───────────────────────────────────────────────────────────────────┤
│ ┌────┐ ┌────┐ ┌────┐ ┌────┐┌────┐ ┌───┐│
│ 1│SCL1│2│SCL2│3│SCL3│4 5 6 7 8│FILE││ALLC│0│END││
│ └────┘ └────┘ └────┘ └────┘└────┘ └───┘│
└───────────────────────────────────────────────────────────────────┘
:load2 heading1.p16
:EJECT
:font 1
:lpi 9
╔══════════════════════════════════╗
║ IHSFONT USER GUIDE 4-17 ║
╚══════════════════════════════════╝
:lpi 6
:font 0
:space 4
:font 2
FIG 3.2 - CHARACTER DEFINITION SCREEN
SCALE 1
:load2 normal.p08
:font 2
:scale 1
:SPACE 6
:lpi 6
┌────────────────────────────────────────────────────────────────────┐
│ │
│ I H S F O N T V 1.0 │
│ │
├────────────────────────────────────────────────────────────────────┤
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ ┌───────────────────────┐ │
│ │ + + + + + + + + + + + │ │
│ │ │ │
│ │ + + + + + + + + + + + │ │
│ │ │ │
│ │ + + + + + + + + + + + │ │
│ │ │ │
│ │ + + + + + + + + + + + │ │
│ │ │ │
│ │ + + + + + + + + + + + │ │
│ │ │ │
│ │ + + + + + + + + + + + │ │
│ │ │ │
│ │ + + + + + + + + + + + │ │
│ │ │ │
│ │ + + + + + + + + + + + │ │
│ │ │ │
│ │ + + + + + + + + + + + │ │
│ └───────────────────────┘ │
│ │
│ │
│ Replacing character: _ ( ) │
│ │
│ │
│ │
│ │
│ │
├────────────────────────────────────────────────────────────────────┤
│ ┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌───┐ ┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌───┐│
│1│SAVE│2│REVV│3│TEST│4│PROP│5│DEL│6│SLCT│7│PREV│8│NEXT│9│MASK│0│END││
│ └────┘ └────┘ └────┘ └────┘ └───┘ └────┘ └────┘ └────┘ └────┘ └───┘│
└────────────────────────────────────────────────────────────────────┘
:load2 heading1.p16
:eject